package com.zl.learning.gc;

public class TestGC2 {
    /**
     * Heap
     * PSYoungGen      total 37888K, used 14173K [0x00000000d6500000, 0x00000000d8f00000, 0x0000000100000000)
     * eden space 32768K, 43% used [0x00000000d6500000,0x00000000d72d76e8,0x00000000d8500000)
     * from space 5120K, 0% used [0x00000000d8a00000,0x00000000d8a00000,0x00000000d8f00000)
     * to   space 5120K, 0% used [0x00000000d8500000,0x00000000d8500000,0x00000000d8a00000)
     * ParOldGen       total 86016K, used 0K [0x0000000082e00000, 0x0000000088200000, 0x00000000d6500000)
     * object space 86016K, 0% used [0x0000000082e00000,0x0000000082e00000,0x0000000088200000)
     * Metaspace       used 3130K, capacity 4496K, committed 4864K, reserved 1056768K
     * class space    used 343K, capacity 388K, committed 512K, reserved 1048576K
     */

//    private static int _1MB = 1024 * 1024;
    public static void main(String[] args) {
//        byte[] bytes = new byte[10 * _1MB];
    }

    public int add(int a, int b) {
        return a + b;
    }
}
